package com.uchedao.seller.ui.car.publish.vin.http;

import org.apache.http.Header;
import org.apache.http.message.BasicHeader;
import org.apache.http.message.HeaderGroup;

public class HeaderParams {
	private HeaderGroup headerGroup;

	public HeaderParams() {
		headerGroup = new HeaderGroup();
	}

	public void put(String name, String value) {
		headerGroup.addHeader(new BasicHeader(name, value));
	}

	public Header[] getHeaders() {
		return headerGroup.getAllHeaders();
	}
}
